.class Lrexsee/core/animation/RexseeTransition$1;
.super Ljava/lang/Object;
.source "RexseeTransition.java"

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lrexsee/core/animation/RexseeTransition;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/animation/RexseeTransition;


# direct methods
.method constructor <init>(Lrexsee/core/animation/RexseeTransition;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    .line 48
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 4
    .param p1, "animation"    # Landroid/view/animation/Animation;

    .prologue
    .line 69
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    invoke-virtual {v2}, Lrexsee/core/animation/RexseeTransition;->hide()V

    .line 70
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mActivity:Landroid/app/Activity;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$0(Lrexsee/core/animation/RexseeTransition;)Landroid/app/Activity;

    move-result-object v2

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v3

    iget-object v3, v3, Lrexsee/core/animation/AnimationStyleSheet;->animation_end_sound:Ljava/lang/String;

    invoke-static {v2, v3}, Lrexsee/core/utilities/Utilities;->playSound(Landroid/content/Context;Ljava/lang/String;)V

    .line 71
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mPostStyleText:Ljava/lang/String;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$2(Lrexsee/core/animation/RexseeTransition;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 72
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # invokes: Lrexsee/core/animation/RexseeTransition;->getPageDiv()Lrexsee/core/widget/Div;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$4(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/widget/Div;

    move-result-object v0

    .line 73
    .local v0, "mDiv":Lrexsee/core/widget/Div;
    if-nez v0, :cond_0

    .line 81
    .end local v0    # "mDiv":Lrexsee/core/widget/Div;
    :goto_0
    return-void

    .line 74
    .restart local v0    # "mDiv":Lrexsee/core/widget/Div;
    :cond_0
    new-instance v2, Lrexsee/core/animation/AnimationStyleSheet;

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/core/animation/AnimationStyleSheet;-><init>(Lrexsee/core/browser/Browser;)V

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mPostStyleText:Ljava/lang/String;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$2(Lrexsee/core/animation/RexseeTransition;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lrexsee/core/animation/AnimationStyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v1

    .line 75
    .local v1, "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    iget-object v2, v1, Lrexsee/core/animation/AnimationStyleSheet;->animation_post_start:Ljava/lang/String;

    const-string v3, "start"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 76
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "inner-visibility:visible;background-color:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, v1, Lrexsee/core/animation/AnimationStyleSheet;->background_color:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lrexsee/core/widget/Div;->setStyleWithoutLayoutParams(Ljava/lang/String;)V

    .line 77
    iget-object v2, v0, Lrexsee/core/widget/Div;->mHorizontalLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v2}, Lrexsee/core/animation/AnimationStyleSheet;->animate(Landroid/view/View;)V

    .line 80
    .end local v0    # "mDiv":Lrexsee/core/widget/Div;
    .end local v1    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :cond_1
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onPageAnimationEnd"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 2
    .param p1, "animation"    # Landroid/view/animation/Animation;

    .prologue
    .line 64
    iget-object v0, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mActivity:Landroid/app/Activity;
    invoke-static {v0}, Lrexsee/core/animation/RexseeTransition;->access$0(Lrexsee/core/animation/RexseeTransition;)Landroid/app/Activity;

    move-result-object v0

    iget-object v1, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v1}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v1

    iget-object v1, v1, Lrexsee/core/animation/AnimationStyleSheet;->animation_repeat_sound:Ljava/lang/String;

    invoke-static {v0, v1}, Lrexsee/core/utilities/Utilities;->playSound(Landroid/content/Context;Ljava/lang/String;)V

    .line 65
    iget-object v0, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onPageAnimationRepeat"

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V

    .line 66
    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 4
    .param p1, "animation"    # Landroid/view/animation/Animation;

    .prologue
    .line 51
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mActivity:Landroid/app/Activity;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$0(Lrexsee/core/animation/RexseeTransition;)Landroid/app/Activity;

    move-result-object v2

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v3

    iget-object v3, v3, Lrexsee/core/animation/AnimationStyleSheet;->animation_start_sound:Ljava/lang/String;

    invoke-static {v2, v3}, Lrexsee/core/utilities/Utilities;->playSound(Landroid/content/Context;Ljava/lang/String;)V

    .line 52
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mPostStyleText:Ljava/lang/String;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$2(Lrexsee/core/animation/RexseeTransition;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 53
    new-instance v2, Lrexsee/core/animation/AnimationStyleSheet;

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/core/animation/AnimationStyleSheet;-><init>(Lrexsee/core/browser/Browser;)V

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mPostStyleText:Ljava/lang/String;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$2(Lrexsee/core/animation/RexseeTransition;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lrexsee/core/animation/AnimationStyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v1

    .line 54
    .local v1, "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # invokes: Lrexsee/core/animation/RexseeTransition;->getPageDiv()Lrexsee/core/widget/Div;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$4(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/widget/Div;

    move-result-object v0

    .line 55
    .local v0, "mDiv":Lrexsee/core/widget/Div;
    if-nez v0, :cond_0

    .line 61
    .end local v0    # "mDiv":Lrexsee/core/widget/Div;
    .end local v1    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :goto_0
    return-void

    .line 56
    .restart local v0    # "mDiv":Lrexsee/core/widget/Div;
    .restart local v1    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :cond_0
    iget-object v2, v1, Lrexsee/core/animation/AnimationStyleSheet;->animation_post_start:Ljava/lang/String;

    const-string v3, "start"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 57
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "inner-visibility:hidden;background-color:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v3}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v3

    iget-object v3, v3, Lrexsee/core/animation/AnimationStyleSheet;->background_color:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lrexsee/core/widget/Div;->setStyleWithoutLayoutParams(Ljava/lang/String;)V

    .line 60
    .end local v0    # "mDiv":Lrexsee/core/widget/Div;
    .end local v1    # "postStyleSheet":Lrexsee/core/animation/AnimationStyleSheet;
    :cond_1
    iget-object v2, p0, Lrexsee/core/animation/RexseeTransition$1;->this$0:Lrexsee/core/animation/RexseeTransition;

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v2}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v2

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onPageAnimationStart"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V

    goto :goto_0
.end method
